From: Jonas Dreßler Date: Tue, 23 Apr 2024 16:14:19 +0000 (+0200) Subject: style: Enforce a min spacing of the dash to the left/right screen edges X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~162 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=14ba1c2ffad7b204eb61be3a31bddecc029b0c1a;p=gnome-shell.git style: Enforce a min spacing of the dash to the left/right screen edges The dash currently doesn't enforce any spacing when it comes to the left and right edges of the monitor. With the right amount of icons, it will come very close to or even touch the edge. Make sure this "edge case" also looks good by adding a padding to the left and right of the container. Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss index e49a259ae..02323fcc6 100644 --- a/data/theme/gnome-shell-sass/widgets/_dash.scss +++ b/data/theme/gnome-shell-sass/widgets/_dash.scss @@ -11,6 +11,10 @@ $dash_spacing: $base_margin * 0.5; // container for the dash #dash { + // a bit of spacing so that dash doesn't touch the screen edges + padding-left: $base_padding; + padding-right: $base_padding; + // background behind item container .dash-background { background-color: $dash_background_color;